import 'babel-polyfill';
import Vue from "vue";
import router from "./router/router";
import store from "./vuex/store";
import "./css/base.css";
import iView from './iview';
import 'iview/dist/styles/iview.css';
import "./axios/index.js";

const App = () => import('./App.vue');

Vue.use(iView);
import {Message} from 'iview';
Vue.prototype.$Message = Message;

axios.defaults.baseURL = "http://gank.io/api";

new Vue({
    el: "#app",
    router,
    store,
    template: '<App/>',
    components: {
        App
    }
})

